<template>
  <el-tooltip effect="dark" :content="title" placement="top-start">
    <el-button v-bind="$attrs">按钮</el-button>
  </el-tooltip>
</template>

<script lang="ts" name="HintButton" setup>
  import {useAttrs} from "vue";

  defineProps(['title'])
  const attrs = useAttrs()
  console.log(attrs)
</script>

<style scoped>

</style>
